//
//  SEGActivityCommentDetailViewModel.h
//  Commom
//
//  Created by 梁学彰 on 2020/6/19.
//

#import <Foundation/Foundation.h>
#import "SEGActivityManager.h"
#import "SEGCommunitySocialManager.h"
#import "ReactiveObjC.h"

NS_ASSUME_NONNULL_BEGIN

@interface SEGActivityCommentDetailViewModel : NSObject
/**
 评论id
 */
@property (nonatomic, copy) NSString *quizID;
/**
 活动ID
 */
@property (nonatomic, strong)NSString *actId;
/**
 活动名称
 */
@property (nonatomic, strong)NSString *actName;
/**
 网络请求管理对象
 */
@property (nonatomic, strong)SEGActivityManager *activityManager;

/**
 页码
 */
@property (nonatomic, assign) NSUInteger pageNo;
@property (nonatomic, strong) NSIndexPath* selectedIndexPath;
/**
 网络请求
 */
@property (nonatomic, strong)SEGCommunitySocialManager *socialManager;

/**
 cell高度缓存
 */
@property (nonatomic, strong)NSMutableDictionary *cellHightDict;

@property (nonatomic, strong) RACCommand *activityCommentDetailCommand;
@property (nonatomic, strong) RACCommand *quizAnswListCommand;
@property (nonatomic, strong) RACCommand *praiseCommand;
@property (nonatomic, strong) RACCommand *saveQuizAnswerCommand;
//


- (instancetype)initWithQuizId:(NSString *)quizId actId:(NSString *)actId actName:(NSString *)actName;

@end

NS_ASSUME_NONNULL_END
